<template>
  <div id="dw-layout">
    <el-container style="padding: 0;">
      <el-header height="80" style="padding: 0;">
        <answer-header></answer-header>
      </el-header>
      <el-container style="z-index: 1;">
        <el-container>
          <el-main style="padding: 20px 0;">
            <router-view></router-view>
          </el-main>
          <el-footer></el-footer>
        </el-container>
      </el-container>
    </el-container>
  </div>
</template>

<script>
import answerHeader from "./AnswerHeader";

export default {
  name: "AnswerLayout",
  components:{
    'answer-header': answerHeader
  }
}
</script>

<style scoped>
body {
  background-color: #F1F1F1;
  /*#ffb25c*/
  background-image: none;
}
</style>
